<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta charset="utf-8">
   	<style>
      html, body, #map_canvas {                
        height: 100%;
      }
    </style>
<title>Cargando Google Maps v3</title>

<script src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>

<script>

	var map;
	function initialize(){  
		
		var mapOptions = {
		          zoom: 12,
		          center: new google.maps.LatLng(40.674389,-4.700432),
		          mapTypeId: google.maps.MapTypeId.ROADMAP
		        };
					
		map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions);
	   
	}

		google.maps.event.addDomListener(window, 'load', initialize);

</script>
</head>
<body>

<h1>Cargando Google Maps v3</h1>
<div id="map_canvas" style="width: 50%; height: 50%"></div>

<br/><br/>
<hr>
Art&iacute;culo disponible en: <a href="http://lineadecodigo.com/google/cargar-google-maps-v3/">http://lineadecodigo.com/google/cargar-google-maps-v3/</a><br/>
<a href="http://lineadecodigo.com" title="Linea de Codigo">lineadecodigo.com</a>


</body>
</html>